package com.example.myworkers.dao;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.example.myworkers.model.Grant;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author 门硕然
* @description 针对表【grant】的数据库操作Mapper
* @createDate 2023-10-27 09:59:25
* @Entity com.example.myworkers.model.Grant
*/

@Mapper
public interface GrantMapper extends BaseMapper<Grant> {
    int insertSelective(Grant grant);

    int deleteByGrantid(@Param("grantid") Integer grantid);

    int updateSelective(Grant grant);

    Grant selectOneByGrantid(@Param("grantid") Integer grantid);

    int deleteByGoodsid(@Param("goodsid") Integer goodsid);
}




